﻿@{
    ViewBag.Title = "Compra";
}

<h2>Compra</h2>
<form action="/Garbarino/Compra" method = "post">
 <select name="producto">
 @{var s =0;
 foreach (var i in Model)
 {
     
      <option value="@s">@i._nombre</option>   
     s++;
 }
 }
 </select>
  
  <input type="number" name="cantidad"/>
<input type="submit" value="agregar" />
 </form>
 

